# -*- coding: utf-8 -*-
'''
This module contains a dummy wikipedia page.
'''
__version__ = "$Revision 0.0.2 $"

class Dummypage():
    '''
    Dummy wikipedia page, it does not do anything
    actually.
    '''
    def __init__(self, title):
        '''
        We introduce at least title, that will help
        a better function
        '''
        self.titlevalue = title
        #We can change this parameter to control if is redirected
        self.redirect = True
        #This is the output from get function
        self.outputget = ''
        #Get called is called...
        self.getcalled = 0
    def isRedirectPage(self):
        '''
        Simply return redirect, this way we control the flow
        '''
        return self.redirect
    def get(self):
        '''
        Returns an easy value
        '''
        self.getcalled = self.getcalled + 1
        return self.outputget
    def title(self):
        '''
        Returns the title
        '''
        return self.titlevalue